/// 错误体信息
class ErrorMessageModel {
  String? code;
  String? msg;

  ErrorMessageModel({this.code, this.msg});

  factory ErrorMessageModel.fromJson(Map<String, dynamic> json) {
    return ErrorMessageModel(
      code: json['code'] as String?,
      msg: json['msg'] as String?,
    );
  }

  Map<String, dynamic> toJson() => {
        'statusCode': code,
        'message': msg,
      };
}
